package org.zachary.commonservice.service;

import org.zachary.commonservice.entity.News;
import org.zachary.commonservice.entity.NewsDTO;

import java.util.List;

public interface NewsService {
    List<News> getAll();

    void addNews(NewsDTO news);

    void deleteNews(Integer id);

    void updateNews(News news);
}
